package com.ucode.hrm.mapper;

import com.ucode.model.hrm.HrmApprovalProcess;
import com.ucode.springboot.starter.mybatis.core.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * 审批流Mapper
 * @Author: Administrator
 * @Date: 2025/6/13 14:26
 * @Version: 1.0
 */
@Mapper
public interface HrmApprovalProcessMapper extends BaseMapper<HrmApprovalProcess,Long> {


    /**
     * 更新审批状态
     * @param id
     * @param status
     * @param remark
     * @param handleTime
     * @return
     */
    public int updateStatus(@Param("id") Long id,@Param("status") Integer status,@Param("remark") String remark,@Param("handleTime") LocalDateTime handleTime);

}
